package com.qinyeit.webapp.security.token;

import com.qinyetech.springstage.core.security.StatelessSecurityToken;
import com.qinyetech.springstage.core.security.TerminalDevice;
import lombok.Data;


@Data
public class EmployeeAuthenticationToken extends StatelessSecurityToken {
    public static final String ADMIN_PARAM_NAME="adminAccount";

    private String adminAccount;

    public EmployeeAuthenticationToken(String username, String password,
                                       boolean rememberMe, String host,
                                       TerminalDevice terminalDevice, String adminAccount) {
        super(username, password, rememberMe, host, terminalDevice);
        this.adminAccount = adminAccount;
    }
}
